x11/dnd: Ignore grab broken events from other devices than our DnD device.
authorCarlos Garnacho <carlosg@gnome.org>
Tue, 17 May 2016 17:27:00 +0000 (19:27 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Wed, 18 May 2016 10:54:40 +0000 (12:54 +0200)
commit1d04bdf845c5418748af8f2b34a6fb718536580f
tree032fab2f756b64b3d3efaf8527f98c9041a3f74a
parent783c30219891e873c9ea07fb83b603b647ef3d47
x11/dnd: Ignore grab broken events from other devices than our DnD device.

The GdkDragContext should only listen to GDK_GRAB_BROKEN events sent to
its own pointer device. It turns out that the passive key grabs mistake
GDK into sending a GdkEventGrabBroken on the master keyboard, which the
DnD machinery mistakes as a signal to cancel the operation.

https://bugzilla.gnome.org/show_bug.cgi?id=766442
gdk/x11/gdkdnd-x11.c